package com.beamfield.common;

import java.io.Serializable;
import java.util.List;
/**
 * 查询分页结果类.
 * 
 * @author 
 * @version 1.0
 */
public class PageResult implements Serializable{
	
	private static final long serialVersionUID = 2144939627880972511L;

	private long total;
	
	private long page;
	
	private List<?> rows;

	public PageResult(long total, long page, List<?> rows) {
		super();
		this.total = total;
		this.page = page;
		this.rows = rows;
	}

	public long getTotal() {
		return total;
	}

	public void setTotal(long total) {
		this.total = total;
	}

	public List<?> getRows() {
		return rows;
	}

	public void setRows(List<?> rows) {
		this.rows = rows;
	}

	public long getPage() {
		return page;
	}

	public void setPage(long page) {
		this.page = page;
	}
	
}
